<?php if (!defined('THINK_PATH')) exit();?><!--<meta http-equiv="refresh" content="2" />-->
<link href="/Public/Home/css/sane.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/Public/js/layer/layer.js" type="text/javascript"></script>
<link href="/Public/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<script src="/Public/Home/js/attestation.js" type="text/javascript"></script>
<script src="/Public/js/jquery.js" type="text/javascript"></script>
<div class="c-main-left-content">
    <div class="con_title">
        <h3>个人信息</h3>
    </div>
    <div class="title_tip">
        <img class="record_icon" src="/Public/img/record_01.jpg"/>
        <span class="record_news">请勿泄露个人信息。</span>
    </div>

    <div class="box_box">
        <div class="p_info_box">
            <div class="p_info_span">
                <span>个人信息</span>
            </div>
            <div class="p_info_span p_info_span1">
                <?php if($_userList['bank_number'] == null): ?><a href="<?php echo U('Home/Trade/attestationInfo');?>" class="p_innfo_a">绑定银联</a><?php endif; ?>
                <?php if($_userList['bank_number'] != null): ?><span><?php echo ($_userList['bank']); ?>：</span>
                    <span style="margin-left: 2px"><?php echo ($_userList['bank_number']); ?></span>
                    <a href="#" onclick="removeBankI()" class="p_innfo_a">解除绑定</a>
                    <input type="hidden" value="<?php echo U('Home/MyInfo/removeBank');?>" id="removeId"><?php endif; ?>
            </div>
            <div class="p_info_left">
                <div class="info_left_top">
                    <span>实名信息</span>
                </div>
                <div class="p_info_real">
                    <span>真实姓名</span>
                    <?php if($_userList['u_status'] == 1): ?><span style="margin-left: 4px">未认证</span><?php endif; ?>
                    <?php if($_userList['u_status'] == 2): ?><span style="margin-left: 4px"><?php echo ($_userList['real_name']); ?></span><?php endif; ?>
                    <?php if($_userList['u_status'] == 3): ?><span style="margin-left: 4px">待认证</span><?php endif; ?>
                </div>
                <div class="p_info_real">
                    <span>身份证号</span>
                    <?php if($_userList['u_status'] == 1): ?><span style="margin-left: 4px">未认证</span><?php endif; ?>
                    <?php if($_userList['u_status'] == 2): ?><span style="margin-left: 4px"><?php echo ($_userList['real_number']); ?></span><?php endif; ?>
                    <?php if($_userList['u_status'] == 3): ?><span style="margin-left: 4px">待认证</span><?php endif; ?>
                </div>
                <div class="info_left_top info_left_height">
                    <span>住址信息</span>
                </div>
                <div class="p_info_real">
                    <span>联系地址</span>
                    <?php if($_userList['u_address'] == null): ?><span style="margin-left: 4px">未填写</span><?php endif; ?>
                    <?php if($_userList['u_address'] != null): ?><span style="margin-left: 4px"><?php echo ($_userList['u_address']); ?></span><?php endif; ?>
                </div>
                <div class="p_info_real">
                    <span>地址邮编</span>
                    <?php if($_userList['u_postcode'] == null): ?><span style="margin-left: 4px">未填写</span><?php endif; ?>
                    <?php if($_userList['u_postcode'] != null): ?><span style="margin-left: 4px"><?php echo ($_userList['u_postcode']); ?></span><?php endif; ?>
                </div>
            </div>
            <div class="p_info_right">
                <div class="p_info_img">
                    <img src="/Public/Uploads/<?php echo ($_userList['u_pic']); ?>" width="128" height="100" alt="未上传头像" >
                </div>
            </div>
            <div class="p_info_center">
                <div class="info_left_top">
                    <span>账户信息</span>
                </div>
                <div class="p_info_real">
                    <span>账户名称</span>
                    <span style="margin-left: 4px"><?php echo ($_userList['u_name']); ?></span>
                </div>
                <div class="p_info_real">
                    <span>账户性别</span>
                    <?php if($_userList['u_sex'] == 1): ?><span style="margin-left: 4px">未设置</span><?php endif; ?>
                    <?php if($_userList['u_sex'] == 2): ?><span style="margin-left: 4px">女</span><?php endif; ?>
                    <?php if($_userList['u_sex'] == 3): ?><span style="margin-left: 4px">男</span><?php endif; ?>
                </div>
                <div class="p_info_real">
                    <span>账户年龄</span>
                    <?php if($_userList['u_age'] == null): ?><span style="margin-left: 4px">未填写</span><?php endif; ?>
                    <?php if($_userList['u_age'] != null): ?><span style="margin-left: 4px"><?php echo ($_userList['u_age']); ?></span><?php endif; ?>
                </div>
                <div class="p_info_real">
                    <span>账户类型</span>
                    <span style="margin-left: 4px"><?php echo ($_userList['u_type_name']); ?></span>
                </div>
                <div class="p_info_real">
                    <span>账户电话</span>
                    <?php if($_userList['u_tel'] == null): ?><span style="margin-left: 4px">未填写</span><?php endif; ?>
                    <?php if($_userList['u_tel'] != null): ?><span style="margin-left: 4px"><?php echo ($_userList['u_tel']); ?></span><?php endif; ?>
                </div>
                <div class="p_info_real">
                    <span>账户邮箱</span>
                    <span style="margin-left: 4px"><?php echo ($_userList['u_email']); ?></span>
                </div>
                <div class="p_info_real">
                    <span>注册时间</span>
                    <span style="margin-left: 4px"><?php echo (date('Y-m-d H:i:s',$_userList['u_regdate'])); ?></span>
                </div>
            </div>
        </div>
    </div>
</div>